<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>MVVM</title>
    <!-- 引入Vue -->
    <script type="text/javascript" src="../../js/vue.js"></script>
  </head>
  <body>
    <!-- 准备好一个容器-->
    <div id="demo">
      <h1>{{school}}</h1>
    </div>

    <script type="text/javascript">
      // data的第一种写法：值为对象
      const vm = new Vue({
        data:{
          school:'尚硅谷'
        }
      })
      vm.$mount('#demo')
    </script>
  </body>
</html>